﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class notify_Url : System.Web.UI.Page
{
    protected string P_UserId = "";
    protected string P_OrderId = "";
    protected string P_CardId = "";
    protected string P_CardPass = "";
    protected string P_FaceValue = "";
    protected string P_ChannelId = "";
    protected string P_Subject = "";
    protected string P_Price = "";
    protected string P_Quantity = "";
    protected string P_Notic = "";
    protected string P_ErrCode = "";
    protected string P_PostKey = "";
    protected string P_PayMoney = "";


    protected string LocalSign = "";

    protected void Page_Load(object sender, EventArgs e)
    {
        P_UserId = Request.QueryString["P_UserId"];
        P_OrderId = Request.QueryString["P_OrderId"];
        P_CardId = Request.QueryString["P_CardId"];
        P_CardPass = Request.QueryString["P_CardPass"];
        P_FaceValue = Request.QueryString["P_FaceValue"];
        P_ChannelId = Request.QueryString["P_ChannelId"];
        P_Subject = Request.QueryString["P_Subject"];
        P_Price = Request.QueryString["P_Price"];
        P_Quantity = Request.QueryString["P_Quantity"];
        P_Notic = Request.QueryString["P_Notic"];
        P_ErrCode = Request.QueryString["P_ErrCode"];
        P_PostKey = Request.QueryString["P_PostKey"];
        P_PayMoney = Request.QueryString["P_PayMoney"];

        string plain = string.Format("{0}|{1}|{2}|{3}|{4}|{5}|{6}|{7}|{8}"
                   , Config.UserId
                   , P_OrderId
                   , P_CardId
                   , P_CardPass
                   , P_FaceValue
                   , P_ChannelId
				   , P_PayMoney
				   , P_ErrCode
                   , Config.SalfStr);

        LocalSign = MD5Util.GetMD5(plain, "gb2312").ToLower(); 
    }
}